﻿using MVCDay18.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCDay18.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {            
            TodoViewModel model = new TodoViewModel();

            model.TodoText = "Fix me a Peanut Butter Sammich";
            model.Timestamp = DateTime.Now;

            //ViewBag.Message = "Peanut Butter page hahaha.";

            return View(model);
        }

        public ActionResult Dexter()
        {
            return View();
        }
    }
}